<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<c:set var="ctx" value="${pageContext.request.contextPath}/" />
<!--左侧列表-->
<div class="left-zq orange">
    <div class="list">
        <ul class="listul">
            <!-- 系统管理 -->
            <s:authorize access="hasAuthority('admin:main')">
                <li class="listul-li">
                    <p>
                        <label class="listul-div"> <span class="list-icon list-icon2"></span> <span class="list-text"><fmt:message key='System.Manage' /></span> <span class="list-arrow"></span>
                        </label>
                    </p>
                    <div class="listul-mask">
                        <ul>
                            <s:authorize access="hasAuthority('admin:auth:main')">
                                <li class="li-three"><a href="${ctx }admin/adminauth">
                                        <div class="dot"></div> <fmt:message key='System.Auth' />
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('admin:role:main')">
                                <li class="li-two"><a href="${ctx }admin/adminrole">
                                        <div class="dot"></div> <fmt:message key='System.Role' />
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('admin:user:main')">
                                <li class="li-one"><a href="${ctx }admin/adminuser">
                                        <div class="dot"></div> <fmt:message key='System.User' />
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('dic:main')">
                                <li class="li-one"><a href="${ctx }api/table-column-dic">
                                        <div class="dot"></div> 字典管理
                                </a></li>
                            </s:authorize>
                        </ul>
                    </div>
                </li>
            </s:authorize>
            <!-- 会员管理 -->
            <s:authorize access="hasAuthority('user:main')">
                <li class="listul-li">
                    <p>
                        <label class="listul-div">
                            <span class="list-icon list-icon2"></span>
                            <span class="list-text">会员管理</span>
                            <span class="list-arrow"></span>
                        </label>
                    </p>
                    <div class="listul-mask">
                        <ul>
                            <s:authorize access="hasAuthority('user:info')">
                                <li class="li-three"><a href="${ctx }api/user/index">
                                        <div class="dot"></div> 会员信息
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('recharge:info')">
                                <li class="li-three"><a href="${ctx }api/recharge/index">
                                        <div class="dot"></div> 充值记录
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('consume:info')">
                                <li class="li-three"><a href="${ctx }api/consume/index">
                                        <div class="dot"></div> 消费记录
                                </a></li>
                            </s:authorize>
                        </ul>
                    </div>
                </li>
            </s:authorize>
            <!-- 志愿管理 -->
            <s:authorize access="hasAuthority('volunteer:admin')">
                <li class="listul-li">
                    <p>
                        <label class="listul-div">
                            <span class="list-icon list-icon2"></span>
                            <span class="list-text">志愿管理</span>
                            <span class="list-arrow"></span>
                        </label>
                    </p>
                    <div class="listul-mask">
                        <ul>
                            <s:authorize access="hasAuthority('volunteer:info')">
                                <li class="li-three"><a href="${ctx }api/volunteer/index">
                                        <div class="dot"></div> 志愿填报信息
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('volunteer:forecast')">
                                <li class="li-three"><a href="${ctx }api/volunteer-forecast/index">
                                        <div class="dot"></div> 志愿填报预测
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('forecast:price')">
                                <li class="li-three"><a href="${ctx }api/forecast-price/index">
                                        <div class="dot"></div> 次数价格设置
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('volunteer:expertinfo')">
                                <li class="li-three"><a href="${ctx }api/expertinfo/index">
                                        <div class="dot"></div> 专家信息管理
                                </a></li>
                            </s:authorize>
                             <s:authorize access="hasAuthority('volunteer:expertorder')">
                                <li class="li-three"><a href="${ctx }api/expertorder/index">
                                        <div class="dot"></div> 专家订单管理
                                </a></li>
                            </s:authorize>
                        </ul>
                    </div>
                </li>
            </s:authorize>
            <!-- 高校管理 -->
            <s:authorize access="hasAuthority('college:admin')">
                <li class="listul-li">
                    <p>
                        <label class="listul-div"> <span class="list-icon list-icon2"></span> <span class="list-text"><fmt:message key='college.data.manage' /></span> <span
                            class="list-arrow"></span>
                        </label>
                    </p>
                    <div class="listul-mask">
                        <ul>
                            <s:authorize access="hasAuthority('college:info')">
                                <li class="li-three"><a href="${ctx }api/university/index">
                                        <div class="dot"></div> 学校信息管理
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('college:major')">
                                <li class="li-three"><a href="${ctx }api/university-majors/index">
                                        <div class="dot"></div> 学校专业管理
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('scoreControllerLine:info')">
                                <li class="li-three"><a href="${ctx }api/scoreControllerLine/index">
                                        <div class="dot"></div> 省控分数管理
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('scorerank:info')">
                                <li class="li-three"><a href="${ctx }api/score-ranks/index">
                                        <div class="dot"></div> 高考分数管理
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('studentsplan:info')">
                                <li class="li-three"><a href="${ctx }api/students-plans/index">
                                        <div class="dot"></div> 招生计划管理
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('majorrecruitplan:info')">
                                <li class="li-three"><a href="${ctx }api/major-recruit-plan/index">
                                        <div class="dot"></div> 招生计划(专业)管理
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('independent:recruit')">
                                <li class="li-three"><a href="${ctx }api/independent-recruit/index">
                                        <div class="dot"></div> 自主招生管理
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('art:recruit')">
                                <li class="li-three"><a href="${ctx }api/art-recruit/index">
                                        <div class="dot"></div> 艺术招生管理
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('gaokao:news')">
                                <li class="li-three"><a href="${ctx }api/gaokao-news/index">
                                        <div class="dot"></div> 高考资讯管理
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('baokao:guide')">
                                <li class="li-three"><a href="${ctx }api/baokao-guide/index">
                                        <div class="dot"></div> 报考指南管理
                                </a></li>
                            </s:authorize>
                        </ul>
                    </div>
                </li>
            </s:authorize>
            <!-- 专业管理 -->
            <s:authorize access="hasAuthority('major:admin')">
                <li class="listul-li">
                    <p>
                        <label class="listul-div"> <span class="list-icon list-icon2"></span> <span class="list-text"><fmt:message key='major.manage' /></span> <span
                            class="list-arrow"></span>
                        </label>
                    </p>
                    <div class="listul-mask">
                        <ul>
                            <s:authorize access="hasAuthority('major:admin:major_type')">
                                <li class="li-three"><a href="${ctx }api/major-types/index">
                                        <div class="dot"></div> <fmt:message key='major.type.manage' />
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('major:admin:major')">
                                <li class="li-three"><a href="${ctx }api/majors/index">
                                        <div class="dot"></div> <fmt:message key='major.data.manage' />
                                </a></li>
                            </s:authorize>
                        </ul>
                    </div>
                </li>
            </s:authorize>
            <!-- 性格测评管理 -->
            <s:authorize access="hasAuthority('character:admin')">
                <li class="listul-li">
                    <p>
                        <label class="listul-div"> <span class="list-icon list-icon2"></span> <span class="list-text"><fmt:message key='character.manage' /></span> <span
                            class="list-arrow"></span>
                        </label>
                    </p>
                    <div class="listul-mask">
                        <ul>
                            <s:authorize access="hasAuthority('character:admin:topic')">
                                <li class="li-three"><a href="${ctx }api/characterTopic/index">
                                        <div class="dot"></div> <fmt:message key='character.topic.manage' />
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('character:admin:class')">
                                <li class="li-three"><a href="${ctx }api/characterClass/index">
                                        <div class="dot"></div> <fmt:message key='character.class.manage' />
                                </a></li>
                            </s:authorize>
                            <s:authorize access="hasAuthority('character:admin:result')">
                                <li class="li-three"><a href="${ctx }api/characterResult/index">
                                        <div class="dot"></div> <fmt:message key='character.result.manage' />
                                </a></li>
                            </s:authorize>
                        </ul>
                    </div>
                </li>
            </s:authorize>
        </ul>
    </div>
</div>
<script>
    /* var reqUrl = "${reqUrl}";
    $.each($(".listul-mask>ul>li>a"), function() {
        var thref = $(this).attr("href");
        if (thref == reqUrl) {
            $(this).css("color", "rgb(255,182,0)");
            $(this).parents(".listul-li").find('.list-arrow').toggleClass("s");
            $(this).parents(".listul-li").find(".listul-mask").css("display","block");
            return false;
        }
    }); */
</script>
